#include "Product.h"
#include <iostream>

using namespace std;

Product::Product() {
  ProducePart();
  cout << "return a product" << endl;
}

Product::~Product() {
}

void Product::ProducePart() {
  cout << "build part of product.." << endl;
}

ProductPart::ProductPart() {
//cout<<"build productpart.."<<endl;
}

ProductPart::~ProductPart() {
}

ProductPart* ProductPart::BuildPart() {
  return new ProductPart;
}
